package com.emp.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.emp.bean.Emp;
import com.emp.dao.EmpDao;
import com.emp.service.EmpService;

@Service
public class EmpServiceImpl implements EmpService {

    @Resource
	private EmpDao empDao;
	@Override
	public List<Emp> queryAllEmps() throws Exception {
		return  empDao.queryAll();
	}

}
